package com.blueocean_health.care.management.domain.dto;

import java.util.List;

import com.blueocean_health.care.management.em.ServiceTypeEnum;

/**
 * @Author lcx
 * @Date 2017/8/21 11:12
 */


public class AppWorkerInfoDto {
    private String serviceType;
    @SuppressWarnings("unused")
	private String serviceTypeName;
    public String getServiceTypeName() {
		return getServiceType()==null||getServiceType().equals("")?null:ServiceTypeEnum.valueOf("_"+getServiceType()).getVal();
	}

	public void setServiceTypeName(String serviceTypeName) {
		this.serviceTypeName = serviceTypeName;
	}

	private List<AppWorkInfoDto> workers;

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

	public List<AppWorkInfoDto> getWorkers() {
		return workers;
	}

	public void setWorkers(List<AppWorkInfoDto> workers) {
		this.workers = workers;
	}

	@Override
	public String toString() {
		return "AppWorkerInfoDto [serviceType=" + serviceType + ", serviceTypeName=" + serviceTypeName + ", workers="
				+ workers + "]";
	}

}
